!function () {
    function init() {
        alltypeFun()
    }
    $('#myOrder').on('click', function () {
        var $orderContent = $('#orderContent');
        $orderContent.show().siblings().hide()
    });
    $('#selfcenter').on('click', function () {
        var $selfcontent = $('#selfcontent');
        $selfcontent.show().siblings().hide()
    })
    $('.usermessage').on('click', function () {
        var $usermsg = $('#usermsg');
        $usermsg.show().siblings().hide()
    })
    function alltypeFun() {
        $('.AllClassify').on('mouseover', function () {
            var $alltype = $('#alltype');
            $alltype.removeClass('yincang')
        })
        $('.AllClassify').on('mouseout', function () {
            var $alltype = $('#alltype');
            $alltype.addClass('yincang')
        })
    }
    $(function(){
        var userName = localStorage.getItem('zxwx-rywusers')
        $(".username").html(userName)
    })
    init()
}()